<template>
    <div>
        <router-view></router-view>
        <van-tabbar v-model="active">
        <van-tabbar-item icon="home-o" router to="/Home" >首页</van-tabbar-item>
        <van-tabbar-item icon="search"  router to="/type">分类</van-tabbar-item>
        <van-tabbar-item icon="friends-o"  router to="/cart">购物车</van-tabbar-item>
        <van-tabbar-item icon="setting-o"  router to="/my">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script>
export default {
    name: 'navButton',
    data() {
        return {
            active:'0'
        };
    },
    created() {
    },
    methods: {

    },
    //组件挂载
    components: {},
    //计算属性
    computed: {},
    //过滤器
    filters: {},
};
</script>

<style lang="scss" scoped>

</style>
